<%-- 
    Document   : commonRight
    Created on : Jun 21, 2012, 10:42:05 AM
    Author     : Owner
--%>

<%@include file="/jsp/includeHead.jsp" %>

<html>
    <head>        
    </head>
    <body>
        <table cellspacing="5px" border="1" >
            <tr>
                <td><h3>Product  Categories</h3></td>
                <td>
                    <logic:present name="categoryList" scope="request">
                        <ul>
                            <logic:iterate id="category" name="categoryList" scope="request">
                                <li><a href="./product.do?action=searchProductByCategory&categoryId='<bean:write name="category" property="categoryId"/>'"><bean:write name="category" property="categoryName"/></a></li>
                            </logic:iterate>
                        </ul>
                    </logic:present>
                </td>
            </tr>

            <tr>
                <td><h3>Shopping Options</h3></td>
                <td><strong>By Price</strong></td>
                <td>
                    <ul>
                        <li><a href="./product.do?action=searchProductByPrice&min='500'&max='1000'">500 - 1,000</a></li>
                        <li><a href="./product.do?action=searchProductByPrice&min='1000'&max='1000'">1,000 - 2,500</a></li>
                        <li><a href="./product.do?action=searchProductByPrice&min='2500'&max='1000'">2,500 - 5,000</a></li>
                        <li><a href="./product.do?action=searchProductByPrice&min='5000'&max='1000'">5,000 - 10,000</a></li>
                        <li><a href="./product.do?action=searchProductByPrice&min='10000'&max='1000'">10,000 - 20,000</a></li>
                        <li><a href="./product.do?action=searchProductByPrice&min='0'&max='20000'">Over Rs. 20,000</a></li>
                    </ul>
                </td>
                <td><strong>By Brands</strong></td>
                <td>
                    <logic:present name="brandList" scope="request" >
                        <ul>
                            <logic:iterate id="brands"  name="brandList" scope="request">
                                <li><a href="./product.do?action=searchProductByBrand&brandId='<bean:write name="brands" property="brandId"/>'"><bean:write name="brands" property="brandName"/></a></li>
                            </logic:iterate>
                                <li><a href="./brand.do?action=showAllBrands">more</a></li>
                        </ul>
                    </logic:present>
                </td>
            </tr>
            <tr>
                <td><h3>Newsletter Sign-Up</h3></td>
                <td>
                    <html:form action="/menuAction" method="post">
                        <table>
                            <tr>
                                <td colspan="2">
                                    <span> Receive the latest sales and promotions from our store!</span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2"><html:text property="newsLetterEmailId" /></td>
                            </tr>
                            <tr>
                                <td>
                                    <a onclick="javascript:signup('','')"><img src="" alt="" onmouseout="" onmouseover=""/></a>
                                </td>
                                <td>
                                    <a onclick="javascript:return unsubscribe('','')">Unsubscribe</a>
                                </td>
                            </tr>
                        </table>
                    </html:form>
                </td>
            </tr>

        </table>
    </body>
</html>
